/* Multi-language selection */

.multi-language-selector {
    min-height: 28px;
}

.multi-language-selector .language-option[data-lang='groovy'] {
    background: no-repeat 20px center url(./multi-language-samples/groovy.svg);
    background-size: 20px 12px;
    padding-left: 32px;
}

.multi-language-selector .language-option[data-lang='kotlin'] {
    background: no-repeat 30px center url(./multi-language-samples/kotlin.svg);
    background-size: 12px 12px;
    padding-left: 2.3em;
}

.multi-language-selector .os-option[data-os='linux'] {
    background-image: url(./multi-language-samples/linux.svg);
}

.multi-language-selector .os-option[data-os='macos'] {
    background-image: url('./multi-language-samples/macos.svg');
}

.multi-language-selector .os-option[data-os='windows'] {
    background-image: url(./multi-language-samples/windows.svg);
}

.multi-language-selector .language-option {
    cursor: pointer;
    display: inline-block;
    font-weight: normal;
    margin: 0;
    padding: 4px 20px;
    min-width: 130px;
    max-width: 320px;
    text-align: center;
    filter: grayscale(1);
    opacity: 0.7;
}

.multi-language-selector .os-option  {
    float: right;
    cursor: pointer;

    display: inline-block;
    margin: 0;
    padding: 4px 4px;

    min-height: 20px;
    max-height: 20px;
    min-width: 28px;
    max-width: 28px;

    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center center;

    filter: grayscale(1);
    opacity: 0.5;
}

.multi-language-selector .os-option.selected,
.multi-language-selector .language-option.selected {
    background-color: #ebebec;
    filter: none;
    opacity: 1;
}

.multi-language-span.hide {
    display: none;
}

.multi-language-selector ~ .multi-language-sample.hide {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
